package com.design03_behavioral.pattern16_responsibilityChains.example01;

/**
 * @ClassName Handler
 * @Description TODO
 * @Author zhangjunhao
 * @DATE 2023/9/8 1:00
 */
public  abstract class Handler {

    protected Handler successor = null;

    public void setSuccessor(Handler successor){
        this.successor = successor;
    }

    public abstract void handle(RequestData requestData);
}



